		        <div id="settings"> 
		            <form method="POST" action="<?php echo (isset($is_config) && $is_config)?'':site_url('reg/register'); ?>"> 
		            <fieldset id="siteSettings"> 
						<h4>选择您的网站(<a href="#this" class='check_all'>全选</a>)</h4>
			        	 <?php foreach ($all_site as $site_id => $site_name){ ?>
							<div class=settings-checkbox>
								<label for="id_site_<?php echo $site_id; ?>">
									<input type="checkbox" id="id_<?php echo $site_id; ?>" name="site[]" value="<?php echo $site_id; ?>" <?php echo (isset($is_config)&&$is_config&&!in_array($site_id,$user_site))?'':'checked'; ?> />
						        	<span class="tip" title="<?php echo $site_name; ?>"> <?php echo $site_name; ?>
						        	</span>
								</label>
							</div>
						<?php  } ?>
					</fieldset> 

					<?php if(isset($is_config) && $is_config){ ?>
						<input type="hidden"  name="ispost" value="1" />
						<input type="submit" class="formbutton" value="保存" />
					<?php }else{ ?>
						<input type="hidden"  name="email" value="<?php echo $email; ?>" />
						<input type="hidden"  name="city" value="<?php echo $city; ?>" />
						<?php if($tag){ 
								foreach ($tag as $tag_id){		
						?>
						<input type="hidden"  name="tag[]" value="<?php echo $tag_id; ?>" />
						<?php 
								}
							}
						?>
						<input type="hidden"  name="reg3" value="1" />
		                <input type="submit" class="formbutton" value="下一步" />
		            <?php } ?>
		            </form> 
		        </div><!-- end #settings --> 